using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 食谱营养仓储接口
    /// </summary>
    public interface IRecipeNutrientRepository : IRepository<RecipeNutrient>
    {
        Task<IEnumerable<RecipeNutrient>> GetByRecipeIdAsync(Guid recipeId);
        Task<IEnumerable<RecipeNutrient>> GetByNutrientTypeAsync(string nutrientType);
    }
}